﻿using Acme.BookStore.Purchase.Customergoods;
using Acme.BookStore.Purchase.Otherwarehousing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;

namespace Acme.BookStore.PurchaseDto.OtherwarehousingDto
{
    public class OtherwarehousingQueryDto: PagedAndSortedResultRequestDto
    {
        /// <summary>
        /// 进货通知单号（唯一标识）
        /// </summary>
        public string? PurchaseOrderNo { get; set; }
        /// <summary>
        /// 货主编码
        /// </summary>
        public string? OwnerCode { get; set; }
        /// <summary>
        /// 订单类型（枚举值，1 代表入库通知等，可扩展 ）
        /// 这里简单用 int ，实际建议用枚举类型或单独字典表 
        /// </summary>
        public OrderTypeModel? OrderType { get; set; }
        /// <summary>
        /// 预计到货时间起始
        /// </summary>
        public DateTime? ExpectedArrivalDateFrom { get; set; }

        /// <summary>
        /// 预计到货时间结束
        /// </summary>
        public DateTime? ExpectedArrivalDateTo { get; set; }

        /// <summary>
        /// 客户订单号（必填，用于对账、溯源）
        /// </summary>
        public string? CustomerOrderNo { get; set; }
        /// <summary>
        /// 车号
        /// </summary>
        public string? CarNo { get; set; }

        /// <summary>
        /// 司机
        /// </summary>
        public string? DriverName { get; set; }

        /// <summary>
        /// 司机电话
        /// </summary>
        public string? DriverPhone { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>
        public string? Status { get; set; }
        /// <summary>
        /// 月台
        /// </summary>
        public PlatformEnum? Platform { get; set; }
    }
}
